package cn.snowheart.ssm.service;

import cn.snowheart.ssm.pojo.Employee;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author liuwanxiang
 * @version 2018/4/22
 */
public interface IEmployeeService {

    List<Employee> list();

    PageInfo<Employee> getEmployeePage(Integer pageNo);

    boolean checkUser(String empName);

    void saveEmployee(Employee employee);

    Employee getEmployeeById(Integer id);

    void updateEmployee(Employee employee);

    void deleteEmployee(String ids);
}
